package sjms.behavior.observer;

/**
 * @ClassName:
 * @Description:
 * @Author fcb
 * @Date 2020/6/9 13:08
 */
public interface Subject {

    void attach(Observer observer);

    void detach(int index);

    void notifyAllObservers();
}
